package com.sun.encrypt;

import org.junit.Test;

import java.security.MessageDigest;
import java.text.SimpleDateFormat;

public class MD5Test {
    @Test
    public void test01() throws Exception{
        String str = "测试MD5";
        String md5 = "MD5";
        MessageDigest md = MessageDigest.getInstance(md5);
        md.digest();
    }



}
